package com.yc.factory.method;

public class Gun extends Weapon{
    @Override
    public void attack() {
        System.out.println("开枪！！pia！pia!");
    }
}
